﻿using System.Collections.Generic;
using ESRI.ArcGIS.Client.Tasks;

namespace ESRI.ArcGIS.Client.Async
{
    public partial class AddressToLocationsTaskResult
    {
        /// <summary>
        /// The address candidates returned by the service.
        /// </summary>
        public List<AddressCandidate> AddressCandidates { get; private set; }

        internal AddressToLocationsTaskResult(AddressToLocationsEventArgs eventArgs)
        {
            AddressCandidates = eventArgs.Results;
        }
    }
}